<template>
  <div>
    <!-- 引入列表组件 -->
    <Table ref="myTable" :tableTitles="titles" :url="this.utils.myurl.sysPowerList"/>
    <div style="text-align: left; margin: 20px;">
      <el-button type="primary" @click="dialogFormVisible = true">新增权限</el-button>
    </div>
  </div>
</template>

<script>
import Table from './Table.vue'

export default {
  name: 'SysPowerManager',
  components: {Table},
  data(){
    return {
      titles: [
        {
          prop: 'prId',
          label: 'id',
          width: '100',
          fixed: true
        },
        {
          prop: 'prPname',
          label: '父级权限',
          width: '100',
          fixed: true
        },
        {
          prop: 'prName',
          label: '权限名称',
          width: '150',
          fixed: true
        },
        {
          prop: 'prFlag',
          label: '权限标识',
          width: '150',
          fixed: true
        },
        {
          prop: 'statusName',
          label: '权限状态',
          width: '150',
          fixed: true
        },
        {
          prop: 'createTime',
          label: '创建时间',
          width: '150',
          fixed: true
        }
      ]
    }
  }
}
</script>

<style>
</style>
